﻿<UserControl x:Class="Qplus.UI.SmileyControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="48" d:DesignWidth="48"
    xmlns:my="clr-namespace:Qplus"
    GotFocus="UserControl_GotFocus"
    LostFocus="UserControl_LostFocus" KeyUp="UserControl_KeyUp">
    <Grid x:Name="LayoutRoot" Width="48" Height="48">
        <Image Name="smileImg"  Stretch="None"/>
        <my:ButtonEx x:Name="smileyBtn" PressedBackground="Transparent" BorderThickness="0" InvisibleMargin="0"
                     LostMouseCapture="smileyBtn_LostMouseCapture" Click="smileyBtn_Click" />
    </Grid>
</UserControl>
